<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<form action="${pageContext.request.contextPath}/remove" method="post">
		<c:forEach var="cartData" items="${cartData}">
			<c:out value="${cartData.custID}" />
			<c:out value="${cartData.medicineID}" />
			<c:out value="${cartData.medicineName}" />
			<c:out value="${cartData.quatity}" />
			<c:out value="${cartData.price}" />
			<input type="hidden" name="mid" value="${medicines}" />
			<input type="submit" value="Remove" />
			<br>
		</c:forEach>
	</form>


	<a href="${pageContext.request.contextPath}/seeCartData">See Data</a>
</body>
</html>